export class OjUserService {
    /**
     * 上传头像
     */
    static async uploadAvatar(formData: FormData) {
        return await request.post('/api/user/avatar', formData, {
            headers: {
                'Content-Type': 'multipart/form-data'
            }
        });
    }
} 